package cn.DesignModel.templateMethod;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class Test {

    public static void main(String[] args) {
        System.out.println("--------------coffee-------------");
        CaffeineBeverage coffee = new Coffee();
        coffee.prepareRecipe();

        System.out.println("--------------tea-------------");
        CaffeineBeverage tea = new Tea();
        tea.prepareRecipe();

    }


}
